home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: mackboring@aol.com (MackBoring)
- Newsgroups: comp.lang.c
- Subject: desperate for help ...please read
- Date: 5 Mar 1996 22:09:41 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4hivll$qt1@newsbf02.news.aol.com>
- Reply-To: mackboring@aol.com (MackBoring)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- First please read at least this short paragraph.
- Iam a student that is desperately in a hole. I am not wishing to cheat my
- self out of an education of C , but...I have a scenario. I am recently a
- new farther (4 week old boy) and have enrolled in this C class and am
- trying to pass the class right now so I can strengthen my programming on
- my own after it is finished.
- I have slipped so far behind with my son being born that I need to pass
- because I can not finacially pay back my empolyer at terms end...........I
- appeal to anyone that has been stuck in a simialr bind
- I need to solve these problems in a very simple manner(basic C class)
- using simple Loops,Arrays,Functions..... etc
-
- P.S If there is some compensation require please drop me a line
- .............Thanks in Advance FRED
-
-
- 1. Write a program to determine if a string(array of characters) is a
- PALIDROME. A PALINDROME is a phrase that reads the same backwards as
- forwards. Ignore(skip over / bypass) any spaces) USE POINTERS !!!
-
- 2. Write a program to print out the image of a fir tree. Use typewriter
- characters(use of graphics not required).
-
- 3. Write a program which asks for the amount of a sale and then aks for
- the amount tendered. Print the amount of change given and how it is to be
- made using the fewest number of bills/coins. Include programming for
- denominations of $20,$10,$5$1 and quarters dimes nickels and pennies.
-
- 4. Write a program to compute how much a person would weigh on the
- following members of the solar system. Use the following table for
- percentages:
- Planet %of Earth Weight
- Earth 100
- Moon 16
- Jupiter 264
- Venus 85
- Mars 38
- Create a printed table of weights renaging from 50-250 Lbs in 10 pound
- incriments. Place "Weight and Planet Headers" across the top of the page
- and print the table with the weights running top to bottom.
-
- 5. Create an array of 20 random numbers that fall between 1 and 99. Print
- out the array.Then sort the array in ascending sequence. Print out the
- sorted array.
-
- 6. Write a program to allow you to enter todays date,name and address then
- right justify(LINE UP) this data at column 78. example
- John Smith
- ABC
- Corporation
- Main Street
-
- Anywhere,State
-
- 7.Write aprogram to compute farenheit to celsius temperature. The table
- should run from -40 to 220 degrees farenheit in signle degree
- intervals.Show farenheit as an integer and celsius as a float. Conversion
- formula is..................... C=(5/9)*(F-32)
-
- 8. Write a program using a contigous numerical sequence, to print a
- listing of all possible arragments of the digits 000 thru 999 three
- digits at a time for example 000,001,002....998,999
-
- 9. Access the clock display the time on the screen( e.g 14.20.33). Now
- translate the time into printed words and display that on screen. Noon and
- midnight should be so named .
- ************************************* Ifpossible create a loop(for a set
- period of time or until a key is pressed) displaying the time each time
- through the loop. If possible set an alarm to beep at a given (requested)
- time. If you want to show(translate into words) the seconds.
-